<?php

declare(strict_types=1);

namespace Upside\Di;

interface ContainerInterface
{
    /**
     * @template T
     * @param class-string<T> $class
     * @return T
     */
    public function get(string $class): mixed;

    /**
     * @param class-string $class
     */
    public function has(string $class): bool;
}
